﻿using System;
using System.Collections.Generic;
using eCommMongo.Core.Domain.Brands;
using eCommMongo.Core.Domain.Categorys;
using eCommMongo.Core.Domain.Shops;

namespace eCommMongo.Core.Domain.Products
{
    public class Product:BaseMongoEntity
    {

        [MongoReference]
        public virtual Shop Shop { get; set; }

        public virtual string ProductName { get; set; }

        public virtual string ShortDescription { get; set; }

        public virtual string FullDescription { get; set; }

        public virtual bool Published { get; set; }

        public virtual bool Deleted { get; set; }
    
        public virtual DateTime CreatedOnUtc { get; set; }

        public virtual DateTime UpdatedOnUtc { get; set; }





        public virtual ICollection<ProductVariant> ProductVariants { get; set; }
    
        public virtual ICollection<Category> ProductCategories { get; set; }

        public virtual ICollection<Brand> ProductBrands { get; set; }

        public virtual IList<ProductPicture> ProductPictures { get; set; }
    
        public virtual ICollection<SpecificationAttributeOption> ProductSpecificationAttributes { get; set; }

    }
}